import { createRouter, createWebHistory } from 'vue-router'
import Dashboard from '../views/Dashboard.vue'
import Logs from '../views/Logs.vue'
// import TestCron from '../views/TestCron.vue'
// import TaskDebug from '../views/TaskDebug.vue'

const routes = [
  {
    path: '/',
    name: 'Dashboard',
    component: Dashboard
  },
  {
    path: '/logs',
    name: 'Logs',
    component: Logs
  }
  // {
  //   path: '/test-cron',
  //   name: 'TestCron',
  //   component: TestCron
  // },
  // {
  //   path: '/task-debug',
  //   name: 'TaskDebug',
  //   component: TaskDebug
  // }
]

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes
})

export default router